home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 February
/
PCWorld_2000-02_cd.bin
/
Software
/
Vyzkuste
/
xsetup
/
_SETUP.2
/
Group3
/
XQ WinNT LockWS.xpl
< prev
next >
Wrap
Text File
|
1999-09-13
|
1KB
|
51 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="System\Security"
"NAME"="Lock Workstation"
"VERSION"="1.03"
"LANGUAGE"="VBScript"
"TEXT 1"="Enable "Lock Workstation" command in security screen"
"DESCRIPTION 1"="Pressing CTRL+ALT+DEL will show the "Windows NT Security" screen, which normally includes the "Lock Workstation" command."
"DESCRIPTION 2"="If this option is deactivated, the user can no longer activate this command (the button appears grayed-out)."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"=" "
sPath="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\"
sV1="DisableLockWorkstation" 'DW
Sub Plugin_Initialize
if GetWinVer=2 then
i=RegReadValue(sPath & sV1)
if IsEmpty(i) or i=0 then
SetUIElement 1,true
end if
Else
Call Disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
i=RegReadValue(sPath & sV1)
if IsEmpty(i)=false then
Call RegDeleteValue(sPath & sV1)
end if
else
Call RegWriteValue(sPAth & sV1,1,2)
end if
End Sub
Sub Plugin_Terminate
End Sub